<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>社医堂</title>
<link rel="stylesheet" type="text/css" href="../../../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../../../css/hui.css" />
    <link rel="stylesheet" type="text/css" href="../../../css/iconfont.css" />
</head>
<body>
<header class="hui-header">
    <div id="hui-back"></div>
    <h1></h1>
	<div id="hui-header-my"  onclick="showuser()"></div>
</header>



<div class="hui-wrap">
		

	
</div>

<footer id="hui-footer"></footer>

<script src="../../../script/hui.js" type="text/javascript" charset="utf-8"></script>
<script src="../../../script/hui-tab.js" type="text/javascript"></script>
<script src="../../../script/api.js" type="text/javascript" charset="utf-8"></script>
<script src="../../../script/stm.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
apiready=function(){	

	var id = api.pageParam.id;
	var header = $api.dom('header');
	var headerH = $api.fixStatusBar(header);
	var footer = $api.dom('footer');
	var footerH = $api.fixTabBar(footer);
	var mainheight = api.winHeight-footerH-headerH;
	//document.getElementById("footer").style.marginTop = mainheight;
	
	hui("h1").html("群交流")

	setfooter(1)
	
	api.openFrame({
		name: 'chat_qun_frm',
		url:'chat_qun_frm.html',
		pageParam:{
			id:api.pageParam.id,
			name:api.pageParam.name
		},
		rect: {
			x: 0,
			y: headerH,
			w: 'auto',
			h: mainheight
		}
	})

	/*api.openFrame({
		name: 'chatpost',
		url:'chat_frmpost.html',
		pageParam:{id:id},
		rect: {
			x: 0,
			y: mainheight,
			w: 'auto',
			h: 50
		}
	})*/

}



function showuser(){
	api.execScript({
		frameName: 'chat_qun_frm',
		script: 'show();'
	});
}

</script>

</body>
</html>